MFG Machine Data Process API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
createMachineDataRequest |
createMachineDataRequest
Source:
./src/main/resources/dwl/createMachineDataRequest.dwl
Mapping Tables
Generates response object which includes attributes and data values for the OSI PI points.
Source field | Target field | Description |
---|---|---|
machineId | attributes.descriptor | machine id in OSI PI where entity was measured |
name | attributes.tagName | name of the PI point |
description | attributes.descriptor | description of the PI point. Note that this field is used to store machine id |
oilLevel | data.value | last captured data value for the Oil Level PI point |
oilUnit | attributes.units | measurement unit for the Oil Level PI point |
vibrationDelta | data.value | last captured data value for the Vibration Delta PI point |
vibrationUnit | attributes.units | measurement unit for the Vibration Delta PI point |
noiseLevel | data.value | last captured data value for the Noise Level PI point |
noiseUnit | attributes.units | measurement unit for the Noise Level PI point |
temperature | data.value | last captured data value for the Temperature PI point |
tempUnit | attributes.units | measurement unit for the Temperature PI point |
location | USA | location of the PI point |
source | OSIPI | source of the PI point |
comments | comment | any notes |
reason | reason | purpose of capturing data |
createdDate | data.timestamp | time stamp when this data was captured |
createdBy | application name | name of the application capturing this data |
updatedDate | data.timestamp | time stamp when this data was updated |
updatedBy | application name | name of the application updating this data |
isDeleted | flag | flag to indicate it this data was deleted |